<template>
    <div class="iframe">
        <div class="i-title">
            <h3>传透属性</h3>
        </div>
        <div class="i-tip">
            <el-avatar v-bind="attrs" />
        </div>
        <div class="i-tip">
            {{ props.name }}
        </div>
    </div>
</template>
<script setup lang="ts">
import { useAttrs } from 'vue';
interface Props {
  name: string;
}
const props = withDefaults(defineProps<Props>(), {
  name: '正在获取中...'
});
 
const attrs = useAttrs();
</script>